package com.docjohnson.pamphlet.utils;

import android.os.Environment;

public interface Constants {

    //Splash
    final int SPLASH_DELAY = 1000;

    //Dashboard
    final int TIMER_DELAY = 5 * 1000;
    final int TIMER_PERIOD = 5 * 1000;
    final int SCREEN_SAVER_DELAY = 30 * 1000;
    final int SCREEN_SAVER_REQUEST_CODE = 222;
    final int PAMPHLET_DETAILS_REQUEST_CODE = 223;
    
    final int SCREEN_SAVER_BACKGROUND_CHAGE_DELAY = 10 * 1000;

    //Server
    double DATA_VERSION = 1.0;
//    public final String SERVER_URL = "http://www.opticrack.com/test_dev/pamphlets-tree";
 	final String SERVER_URL = "http://www.docjohnson.com/test_dev/pamphlets-tree";
    // Preference
    final String DOC_JOHNSON_PREFS = "doc_johnson_preference";
    
    final String CACHE_DIR = Environment.getExternalStorageDirectory() + "/Android/data/com.docjohnson.pamphlet/cache/";
    
    final String CACHE_PAMPHLETS_DIR = CACHE_DIR + "pamphlets/";
    final String CACHE_SCREEN_SAVER_DIR = CACHE_DIR + "screensavers/";
}
